package com.ternnetwork.batch.item.mapper.excel;

import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * 
 * @author xuwenfeng
 *
 */
public interface ModelToExcelRowMapper {
	
	/**
	 * 模型与电子表格映射
	 * @param t
	 * @param sheet
	 * @param workbook
	 * @param rowIndex
	 * @throws Exception
	 */
	void mapRow(Object t,Sheet sheet,Workbook workbook,Integer rowIndex) throws Exception;

}
